package com.ctshk.rpc.order.season.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author 杨林
 * @version 1.0
 * @date 2021/3/24 18:07
 */
@Data
@ApiModel(value = "SeasonProductOrderAirDTO对象", description = "套票订单飞机票信息")
public class SeasonProductOrderAirDTO implements Serializable {

    @ApiModelProperty(value = "关联t_season_order 表id 表id")
    private Long seasonOrderId;

    @ApiModelProperty(value = "单项订单id(打包下单成功后根据每个单项订单返回的id存储)")
    private Long orderId;

    @ApiModelProperty(value = "该产品Id")
    private Long productId;

    @ApiModelProperty(value = "出发城市id")
    private Long depCityId;

    @ApiModelProperty(value = "出发城市名称")
    private String depCityName;

    @ApiModelProperty(value = "到达城市id")
    private Long arrCityId;

    @ApiModelProperty(value = "到达城市名称")
    private String arrCityName;

    @ApiModelProperty(value = "行程类型(depart：出发，return：回程)")
    private String tripType;

    @ApiModelProperty(value = "航空公司id")
    private Long companyId;

    @ApiModelProperty(value = "航空公司名称")
    private String companyName;

    @ApiModelProperty(value = "船舱等级(1 经济舱，2 高端经济舱，3 商务舱，4 头等舱)")
    private Integer cabinClass;

    @ApiModelProperty(value = "航班号")
    private String flightNumber;

    @ApiModelProperty(value = "起飞时间")
    private LocalDateTime depTime;

    @ApiModelProperty(value = "到达时间")
    private LocalDateTime arrTime;

    @ApiModelProperty(value = "飞行时间")
    private String flightTime;

    @ApiModelProperty(value = "供应商id")
    private Long supplierId;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(value = "产品价格")
    private BigDecimal productPrice;

    @ApiModelProperty(value = "成人数")
    private int adult;
    @ApiModelProperty(value = "小孩数")
    private int child;

}